//导航栏颜色
var colors = document.querySelector(".nav-top").querySelectorAll("a");
for(var i = 0;i <colors.length;i++){
	colors[i].onmouseover = function (){
		this.style.color = "#FFFFFF";
	}
	colors[i].onmouseout = function (){
		this.style.color = "#B0B0B0";
	}
}
//购物车
function shopping(){
	document.querySelector("#nav-top-right-li a").style.color="#ff6600";
	$("#nav-top-right-li").css("background-color","#FFFFFF");
	$("#nav-top-right-sp").show();
	$("#nav-top-right-li span").css("color","#ff6600");
}
function outshopping(){
	document.querySelector("#nav-top-right-li a").style.color="#B0B0B0";
	$("#nav-top-right-li").css("background-color","#333");
	$("#nav-top-right-sp").hide();
	$("#nav-top-right-li span").css("color","#B0B0B0");
}
